package com.xuecheng.manage_course.dao;

import com.xuecheng.framework.domain.course.TeachplanMediaPub;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Aniymx on 2019/1/8 20:38.
 */
public interface TeachplanMediaPubRepository extends JpaRepository<TeachplanMediaPub,String> {
    public List<TeachplanMediaPub> findByCourseId(String courseId);
    public Long deleteByCourseId(String course);
}
